﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using MethodWorx.CMS.Content;
using System.Web;

namespace MethodWorx.CMS.Web
{
    internal static class UrlResolver
    {
        internal static string CreatePageUrl()
        {
            return "~/Application/CreatePage/ChoosePageTemplate";
        }

        internal static string CreatePageUrl(Guid parentId)
        {
            return "~/Application/CreatePage/ChoosePageTemplate/" + parentId;
        }

        internal static string CreateContentItemUrl(Guid parentId)
        {
            return "~/Application/CreateContentItem/ChooseContentTemplate/" + parentId;
        }

        internal static string TemplateEditor(Guid id)
        {
            return "~/Application/Template/Editor/" + id;
        }
    }
}
